<h1>Listing hotel_transactions</h1>

<table>
  <tr>
    <th>Hotel room type</th>
    <th>Payment type</th>
    <th>Status</th>
    <th>Price</th>
    <th>First name</th>
    <th>Last name</th>
    <th>Address</th>
    <th>Phone</th>
    <th>Queries</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @hotel_transactions.each do |hotel_transaction| %>
  <tr>
    <td><%= hotel_transaction.hotel_room_type_id %></td>
    <td><%= hotel_transaction.payment_type_id %></td>
    <td><%= hotel_transaction.status_id %></td>
    <td><%= hotel_transaction.price %></td>
    <td><%= hotel_transaction.first_name %></td>
    <td><%= hotel_transaction.last_name %></td>
    <td><%= hotel_transaction.address %></td>
    <td><%= hotel_transaction.phone %></td>
    <td><%= hotel_transaction.queries %></td>
    <td><%= link_to 'Show', hotel_transaction %></td>
    <td><%= link_to 'Edit', edit_hotel_transaction_path(hotel_transaction) %></td>
    <td><%= link_to 'Destroy', hotel_transaction, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Hotel transaction', new_hotel_transaction_path %>
